package com.squirrel.michale;

/**
 * TODO function description
 *
 * @author m30026548
 * @since 2025-04-07
 */
public class DataPackage {

    // 生成该数据包的机器的唯一标识符
    private int source;
    // 目标机器的唯一标识符
    private int destination;
    // 该数据包到达路由器的时间戳
    private int timestamp;


    public DataPackage() {
    }

    public DataPackage(int source, int destination, int timestamp) {
        this.source = source;
        this.destination = destination;
        this.timestamp = timestamp;
    }


    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }

    public int getDestination() {
        return destination;
    }

    public void setDestination(int destination) {
        this.destination = destination;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }
}
